package com.jyxd.web.service.assessment.basic;

import com.jyxd.web.dao.basic.BedBindRespiratorDao;
import com.jyxd.web.data.basic.BedBindRespirator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class BedBindRespiratorService {

    @Autowired
    private BedBindRespiratorDao bedBindRespiratorDao;

    public boolean insert(BedBindRespirator bedBindRespirator){
        return bedBindRespiratorDao.insert(bedBindRespirator);
    }

    public boolean update(BedBindRespirator bedBindRespirator){
        return bedBindRespiratorDao.update(bedBindRespirator);
    }

    public BedBindRespirator queryData(String id){
        return bedBindRespiratorDao.queryData(id);
    }


}
